package com.zw.cc.stock.model.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;

import java.util.Date;

public class StocksVo {

    @JsonIgnore
    private Integer id;

    @JsonIgnore
    private String code;

    @JsonIgnore
    private String name;

    private Float price;

    @JsonIgnore
    private Integer status;

    private Date createDate;

    public StocksVo() {
    }

    public StocksVo(String code) {
        this.code = code;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }


    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}